<?php


namespace app\api\model;

use app\common\model\WxappMenu as WxappMenuModel;

class WxappMenu extends WxappMenuModel
{
    public static function getMenus()
    {
        return self::with('icon')->where('online', '>', 0)->order('sort asc')->select();
    }
}